package com.quick.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quick.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.quick.common.annotation.Excel;

/**
 * 值班通知对象 duty_notice
 * 
 * @author quick
 * @date 2025-01-03
 */
public class DutyNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 值班通知编号 */
    private Long id;

    /** 值班领导签字 */
    @Excel(name = "值班领导签字")
    private String dutyLeaderSign;

    /** 通知发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通知发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeSendTime;

    /** 排班id */
    @Excel(name = "排班id")
    private Long scheduleId;

    /** 通知目标 */
    @Excel(name = "通知目标")
    private Long userId;

    /** 通知碓认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通知碓认时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeConfirmTime;

    /** 通知状态 */
    @Excel(name = "通知状态")
    private Integer status;

    /** 请假id */
    @Excel(name = "请假id")
    private Long leaveId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDutyLeaderSign(String dutyLeaderSign) 
    {
        this.dutyLeaderSign = dutyLeaderSign;
    }

    public String getDutyLeaderSign() 
    {
        return dutyLeaderSign;
    }
    public void setNoticeSendTime(Date noticeSendTime) 
    {
        this.noticeSendTime = noticeSendTime;
    }

    public Date getNoticeSendTime() 
    {
        return noticeSendTime;
    }
    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNoticeConfirmTime(Date noticeConfirmTime) 
    {
        this.noticeConfirmTime = noticeConfirmTime;
    }

    public Date getNoticeConfirmTime() 
    {
        return noticeConfirmTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLeaveId(Long leaveId) 
    {
        this.leaveId = leaveId;
    }

    public Long getLeaveId() 
    {
        return leaveId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dutyLeaderSign", getDutyLeaderSign())
            .append("noticeSendTime", getNoticeSendTime())
            .append("scheduleId", getScheduleId())
            .append("userId", getUserId())
            .append("noticeConfirmTime", getNoticeConfirmTime())
            .append("status", getStatus())
            .append("leaveId", getLeaveId())
            .toString();
    }

    public String info;

    public String getInfo() {
    	return info;
    }
    public void setInfo(String info) {
    	this.info = info;
    }
}
